package com.easytake.emotioncat.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 情绪记录请求参数
 */
@Getter
@Setter
@Schema(title = "情绪发布请求对象")
public class EmParams implements Serializable {

    @Schema(title = "情绪记录内容")
    @NotBlank(message = "发布内容不能为空")
    private String content;

    @Schema(title = "情绪类型")
    @NotBlank(message = "情绪类型不能为空")
    private String category;

    @Schema(title = "情绪影响")
    @NotBlank(message = "情绪影响不能为空")
    private String affect;

    @Schema(title = "是否公开:0-否,1-是")
    @NotNull(message = "是否公开不能为空")
    private Integer isPublic;

    @Schema(title = "图像url集合，使用;拼接")
    private String images;


}
